<?php

/*
 * Edit by shengxin
 * Click nbfs://nbhost/SystemFileSystem/Templates/Scripting/PHPClass.php to edit this template
 */

namespace api\mall\task;
use api\portal\service\UserInfoService;

/**
 * 检测好友成群任务是否完成
 *
 * @author PC
 */
class MassFriends extends TaskChecker{

    
    protected function queryTaskData($user):int {
        //没办法,查数据吧
        $userInfoService = new UserInfoService();
        return $userInfoService->updateUserFriendNum($user['id']);
    }
}
